from flask import Flask, render_template, send_from_directory

app = Flask(__name__)

@app.route('/')
def index():
    return render_template('index.html')

@app.route('/data')
def data():
    return send_from_directory('static', 'final_validated_processed_bnb_usdt_klines.json')

if __name__ == '__main__':
    app.run(debug=True)
